# coding=utf-8

def get_values_by_request(request, name):
    return request[name] if name in request else ''

def gene_response(code=200, msg="", data={}):
    return {"code": code, "msg": msg, "data": data}
